Skip to main content

How to write blog

· One min read
Tommy Oh
President @ SFU OS Dev club

Below description is from Docusaurus basic description of how to write blog.

Docusaurus blogging features are powered by the blog plugin.

Here are a few tips you might find useful.

Simply add Markdown files (or folders) to the blog directory.

Regular blog authors can be added to authors.yml.

The blog post date can be extracted from filenames, such as:

  • 2019-05-30-welcome.md
  • 2019-05-30-welcome/index.md

A blog post folder can be convenient to co-locate blog post images:

Docusaurus Plushie

The blog supports tags as well!

Use a <!-- truncate --> comment to limit blog post size in the list view.